package T;

import java.util.ArrayList;
import java.util.List;

public class k {
    public static void main(String[] args) {

        String []list={"ma","cao","yuan"};

        String a="猪";

        System.out.println(list.length);

        System.out.println(a.length());

        List<Object> array=new ArrayList();

        array.add(a);

        System.out.println(array.size());
    }
}
